***************************************************************
****Replication file for Ryan E. Carlin & Timothy Hellwig "The World Economy, Political Control, and Presidential Success." forthcoming in The Journal of Politics***
***************************************************************

****************************
***Figure 2
****************************
use lora_annual.dta" replace
line dfa4 year if country=="ARG" || line dfa2 year if country=="ARG", yaxis(2) lpattern(dash) scheme(s1mono) title("Argentina") name(arg, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none) 
line dfa4 year if country=="BOL" || line dfa2 year if country=="BOL", yaxis(2) lpattern(dash) scheme(s1mono) title("Bolivia") name(bol, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="BRA" || line dfa2 year if country=="BRA", yaxis(2) lpattern(dash) scheme(s1mono) title("Brazil") name(bra, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="CHL" || line dfa2 year if country=="CHL", yaxis(2) lpattern(dash) scheme(s1mono) title("Chile") name(chl, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="COL" || line dfa2 year if country=="COL", yaxis(2) lpattern(dash) scheme(s1mono) title("Colombia") name(col, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="CRI" || line dfa2 year if country=="CRI", yaxis(2) lpattern(dash) scheme(s1mono) title("Costa Rica") name(cri, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="DR" || line dfa2 year if country=="DR", yaxis(2) lpattern(dash) scheme(s1mono) title("Dominican Rep.") name(dr, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="ECU" || line dfa2 year if country=="ECU", yaxis(2) lpattern(dash) scheme(s1mono) title("Ecuador") name(ecu, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="GUA" || line dfa2 year if country=="GUA", yaxis(2) lpattern(dash) scheme(s1mono) title("Guatemala") name(gua, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="HON" || line dfa2 year if country=="HON", yaxis(2) lpattern(dash) scheme(s1mono) title("Honduras") name(hon, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="JAM" || line dfa2 year if country=="JAM", yaxis(2) lpattern(dash) scheme(s1mono) title("Jamaica") name(jam, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none) 
line dfa4 year if country=="MEX" || line dfa2 year if country=="MEX", yaxis(2) lpattern(dash) scheme(s1mono) title("Mexico") name(mex, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="NIC" || line dfa2 year if country=="NIC", yaxis(2) lpattern(dash) scheme(s1mono) title("Nicaragua") name(nic, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="PER" || line dfa2 year if country=="PER", yaxis(2) lpattern(dash) scheme(s1mono) title("Peru") name(per, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="PRY" || line dfa2 year if country=="PRY", yaxis(2) lpattern(dash) scheme(s1mono) title("Paraguay") name(pry, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="SLV" || line dfa2 year if country=="SLV", yaxis(2) lpattern(dash) scheme(s1mono) title("El Salvador") name(slv, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="URU" || line dfa2 year if country=="URU", yaxis(2) lpattern(dash) scheme(s1mono) title("Uruguay") name(uru, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
line dfa4 year if country=="VEN" || line dfa2 year if country=="VEN", yaxis(2) lpattern(dash) scheme(s1mono) title("Venezuela") name(ven, replace) legend(off) nodraw xlabel(1985(8)2009) ylabel(none)
graph combine arg bol bra chl col cri dr ecu slv gua hon jam mex nic pry per uru ven, scheme(s1mono) c(6) ycommon

